package com.yunc.modules.cms.service.impl;

import com.yunc.modules.cms.entity.QuestionSubjectSelect;
import com.yunc.modules.cms.mapper.QuestionSubjectSelectMapper;
import com.yunc.modules.cms.service.IQuestionSubjectSelectService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 问卷题目选项表 service实现
 *
 * @author concong tao
 * @since 2019-01-31
 */
@Service
public class QuestionSubjectSelectServiceImpl extends ServiceImpl<QuestionSubjectSelectMapper, QuestionSubjectSelect> implements IQuestionSubjectSelectService {

    @Autowired
    private QuestionSubjectSelectMapper questionSubjectSelectMapper;

    @Override
    public int insertList(List<QuestionSubjectSelect> list) {
        return questionSubjectSelectMapper.insertList(list);
    }
}
